package com.swi.dto.consume;

import com.swi.dto.page.Page;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Shisan on 2017/8/22.
 * 消费类型
 */
public class TypeInfoDto extends Page implements Serializable {

    private static final long serialVersionUID = 4776265251538797906L;

    private String id;

    /**
     * 类型名称
     */
    private String typeName;

    /**
     * 最大允许支出
     */
    private Double maxSpend;

    /**
     * 父ID
     */
    private String parentId;

    /**
     * 所有父ID
     */
    private String parentIds;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 类型枚举
     * 1-收入
     * 2-支出
     */
    private Integer typeEnum;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Double getMaxSpend() {
        return maxSpend;
    }

    public void setMaxSpend(Double maxSpend) {
        this.maxSpend = maxSpend;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getTypeEnum() {
        return typeEnum;
    }

    public void setTypeEnum(Integer typeEnum) {
        this.typeEnum = typeEnum;
    }
}
